package com.VancouverTongue.bean;

import com.VancouverTongue.database.HelpObj;

public class Message {
	
	public int messageId;
	public String title;
	
	
	public Message()
	{
		messageId = 0;
		title = "";
	}
	public int getMessageId() {
		return messageId;
	}
	public void setMessageId(int messageId) {
		this.messageId = messageId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = HelpObj.HTMLcheck(title);
		this.title = HelpObj.checkString(this.title, 50);
	}
	

	public void addMessage(int messageid,String title)
	{
		this.messageId = messageid;
		this.title = HelpObj.HTMLcheck(title);
		
		this.title = HelpObj.checkString(this.title, 50);
	}
	

}
